﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UCL.Data;

namespace UCL.Forms.Components.SoExplorer
{
    /// <summary>
    /// 2013-7-19 by sutroon
    /// </summary>
    class ComDataHelper : SQLiteHelper
    {
        public ComDataHelper()
            : base("Data Source=ExplorerDB.db;Pooling=true;FailIfMissing=false")
        {
            base.ExecuteNonQuery("create table if not exists tExplorerFavorite (ID INTEGER PRIMARY KEY, Name text, HostUri text, ExTags text, Ordinal smallint not null default 999, CreatedTime DateTime not null default CURRENT_TIMESTAMP, SiteTag text)");
        }
    }
}
